package com.app.campusguide;


import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.View;
import android.widget.ImageView;


public class AcivityMain extends Activity {
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main_activity);
		ImageView btn_edit_schedule =(ImageView) findViewById(R.id.img_btn_edit_schedule);
		ImageView btn_view_schedule =(ImageView) findViewById(R.id.img_btn_view_class);
		ImageView btn_reset_schedule =(ImageView) findViewById(R.id.img_btn_reset_schedule);
		ImageView btn_delete_class_schedule =(ImageView) findViewById(R.id.img_btn_delete_classes);
		ImageView btn_explore =(ImageView) findViewById(R.id.img_btn_explore);
		ImageView btn_help =(ImageView) findViewById(R.id.img_btn_help);
		
		btn_edit_schedule.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
            	Intent i = new Intent(getApplicationContext(),Schedule_activity.class);
        		startActivity(i);
            }      
        });
		
		btn_view_schedule.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
            	Intent i = new Intent(getApplicationContext(),View_schedule_activity.class);
        		startActivity(i);
            }      
        });
		
		btn_reset_schedule.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
            	Intent i = new Intent(getApplicationContext(),Reset_schedule.class);
        		startActivity(i);
            }      
        });
		
		btn_delete_class_schedule.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
            	Intent i = new Intent(getApplicationContext(),Delete_class_activity.class);
        		startActivity(i);
            }      
        });
		
		btn_explore.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
            	Intent i = new Intent(getApplicationContext(),com.app.ar.AR_Ubication_Site.class);
        		startActivity(i);
            }      
        });
		
		btn_help.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
            	Intent i = new Intent(getApplicationContext(),com.app.campusguide.Help_activity.class);
        		startActivity(i);
            }      
        });
		
	}	
}
